package com.ex;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureWebMvc;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 坑de西瓜
 */
@RestController

@EnableAutoConfiguration
public class Step1 {

    @RequestMapping("/home")
    String home() {
        System.out.println("111");
        return "Hello World!";
    }
    public static void main(String[] args) {

        SpringApplication
                .run(Step1

                .class, args);
    }

}
